/**
 * 
 */
package it.polimi.traveldream.dtos;

import java.util.Date;
import java.util.List;

import javax.validation.constraints.NotNull;

public class DefaultPackageDTO {

	private int id;

	@NotNull
	private Date endDate;

	@NotNull
	private Date startDate;

	@NotNull
	private String description;

	@NotNull
	private String name;
	
	@NotNull
	private List<ProductDTO> products;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ProductDTO> getProducts() {
		return products;
	}

	public void setProducts(List<ProductDTO> products) {
		this.products = products;
	}
	
	
	
}
